
import org.gruposp2p.aularest.model.Student;
import org.gruposp2p.aularest.service.AulaDataService;
import org.gruposp2p.aularest.service.AulaDataServiceImpl;

/**
 *
 * @author jj
 */
public class FindStudents {

    public static void main (String[] args) {
        FindStudents findStudents = new FindStudents();
        findStudents.findStudent();
    }

    public void findStudent () {
         AulaDataService dataService = new AulaDataServiceImpl();
        Student student =
                dataService.findStudent(new Integer(201));
        System.out.println("student: " + student.getName());
    }

}
